import request from '@/utils/request'

export function getNodeList() {
  return request({
    url: '/api/vm-service/region/search',
    method: 'get',
    params: {
      pageIndex: 1,
      pageSize: 100000
    }
  })
}

export function getList(params) {
  return request({
    url: '/api/vm-service/node/search',
    method: 'get',
    params
  })
}
